<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>在浮动元素父级元素上设置overflow</title>
		<style type="text/css">
			#f1{
				background-color:blue;
				border: 5px solid red;
				overflow: hidden;
			}
			#f1 div{
				height: 100px;
				width: 100px;
				margin: 3px;
				border: 4px solid greenyellow;
				float: left;
			}
			#title{
				border: 1px dashed red;
				
			}
			 
		</style>
	</head>
	<body>
		<div id="f1">
			<div id="d1">1</div>
			<div>2</div>
			<div>3</div>
			<div>4</div>
			<div>5</div>
			<div>6</div>
			<div>7</div>
			<div>8</div>
			<div>9</div>
			<div>
				请选择你的省份:
				<select name="province">
					<option value="666">11</option>
					<option value="444">11</option>
					<option value="222">33</option>
					<option value="11">45</option>
					<option value="21">56</option>
					<option value="3">66</option>
					<option value="3">66</option>
					<option value="3">77</option>
					<option value="3">77</option>
					<option value="3">77</option>
					<option value="3">77</option>
					<option value="3">777</option>
				</select>
			</div>  
		</div>
		
		<p id="title">
			教育改变生活,气度决定成就。
			五有人才，教育改变生活,气度决定成就。教育改变生活,气度决定成就。教育改变生活,气度决定成就。
		</p>
		<h3>We change lives</h3>
	</body>
</html>
